package com.panda.sdk;

import com.panda.sdk.client.PandaApiClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author pansd
 * @Date 2025-07-31 14:50
 * @Des
 */
@Configuration
@ConfigurationProperties("panda.sdk.client")
@Data
@ComponentScan
public class PandaSdkClientConfig {

    private String accessKey;

    private String secretKey;


    @Bean
    public PandaApiClient pandaApiClient(){
        return new PandaApiClient(accessKey,secretKey);
    }

}